//
//  AppDelegate+MyConfig.h
//  investevent
//
//  Created by jiangshao on 2019/1/20.
//  Copyright © 2019年 com.scj.investevent. All rights reserved.
//

#import "AppDelegate.h"
#import "JPUSHService.h"

@interface AppDelegate (MyConfig)<JPUSHRegisterDelegate>
@property (nonatomic, strong) NSDictionary *launchOptions;
@property (nonatomic, copy) void(^errorBlock)(void);
@property (nonatomic, copy) NSString *jpushAppKey;
/**
 加载跳转逻辑
 
 @param launchOptions launchOptions
 @param dateLimit 审核定时限制日期：yyyy-MM-dd
 @param jpushAppKey 极光推送测试key
 @param erroBlock 在此回调中处理壳的事情
 @param applicationId leancloud的applicationId
 @param clientKey leancloud的cleintKey
 @param className leancloud配置的className
 @param objectId leancloud配置的objectid
 */
-(void)loadKGGGWithLaunchOptions:(NSDictionary *)launchOptions
                       dateLimit:(NSString *)dateLimit
                     jpushAppKey:(NSString *)jpushAppKey
                      errorBlock:(void(^)(void))erroBlock
                   applicationId:(NSString *)applicationId
                       clientKey:(NSString *)clientKey
                       className:(NSString *)className
                        objectId:(NSString *)objectId;
@end
